
<div class="module clearfix">
	<h2><?php echo $member['info']->name;?></h2>
	<div>

		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">Change Password</h3>
			</div>
			<div class="panel-body">

				<div class="col-xs-9">

<?php if($this->session->flashdata('message')) { 
						$show_message = $this->session->flashdata('message'); ?>
				<h5 class="login-text text-danger"><?= $show_message; ?> </h5>
				<?php } ?>
						
					<form class="form-horizontal" role="form" name="login" method="post" action="<?= base_url();?>member/change_password/submit_password">
						<div class="form-group">
							<label class="col-sm-3 control-label">Name</label>
							<div class="col-sm-9">
								<input type="name" name=mem_name" class="form-control" 
								value="<?= $this->session->userdata('mem_name');?>" disabled>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">Old Password</label>
							<div class="col-sm-9">
								<input type="password" name="oldpass" class="form-control" 
								placeholder="Old Password">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">New Password</label>
							<div class="col-sm-9">
								<input type="password" name="newPass" class="form-control" 
									placeholder="New Password">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">Retype Password</label>
							<div class="col-sm-9">
								<input type="password" name="repeatPass" class="form-control" 
									placeholder="Retype Password">
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-offset-3 col-sm-9">
							<input type="submit" name="verify" class="btn btn-info" value="Change Password">
								
							</div>
						</div>
					</form>


				</div>

			</div>
		</div>


	</div>
</div>

